//获取应用实例
var app = getApp()
Page({
  data: {
    videoUrl:""
  },
  onReady:function(){
    // this.videoContext = wx.createVideoContext('myVideo');
  },
  onLoad: function (e) {
    var that = this;
    app.setNavtitle('视频播放');
    setTimeout(function(){
      that.setData({
        videoUrl: e.url
      })
    },2)
  }
})
